package io.jnet.client.util;

import io.jnet.common.bufstorage.BufStorage;
import io.jnet.common.decodec.FrameDecodec;
import io.jnet.common.streamprocessor.StreamProcessor;

public class ClientChannelContextConfig
{
    private StreamProcessor[] outProcessors;
    private StreamProcessor[] inProcessors;
    private BufStorage        bufStorage;
    private int               maxMerge = 10;
    private FrameDecodec      frameDecodec;
    
    public StreamProcessor[] getOutProcessors()
    {
        return outProcessors;
    }
    
    public void setOutProcessors(StreamProcessor... outProcessors)
    {
        this.outProcessors = outProcessors;
    }
    
    public StreamProcessor[] getInProcessors()
    {
        return inProcessors;
    }
    
    public void setInProcessors(StreamProcessor... inProcessors)
    {
        this.inProcessors = inProcessors;
    }
    
    public BufStorage getBufStorage()
    {
        return bufStorage;
    }
    
    public void setBufStorage(BufStorage bufStorage)
    {
        this.bufStorage = bufStorage;
    }
    
    public int getMaxMerge()
    {
        return maxMerge;
    }
    
    public void setMaxMerge(int maxMerge)
    {
        this.maxMerge = maxMerge;
    }
    
    public FrameDecodec getFrameDecodec()
    {
        return frameDecodec;
    }
    
    public void setFrameDecodec(FrameDecodec frameDecodec)
    {
        this.frameDecodec = frameDecodec;
    }
    
}
